﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fantacid303.ProcessAffinityControl.Common;
using System.Runtime.InteropServices;

namespace Fantacid303.ProcessAffinityControl.Manager.MainWindowViewModels
{
	/// <summary>
	/// Represents a View Model for a configuration rule
	/// </summary>
	partial class ConfigurationRuleViewModel : ViewModelBase
	{
		private ProcessorAffinityType processorAffinityType;
		private bool isSelected;
		private string processName;

		/// <summary>
		/// Initializes a new instance of the <see cref="ConfigurationRuleViewModel"/> class.
		/// </summary>
		/// <param name="configurationEntryViewModel">The configuration entry view model.</param>
		public ConfigurationRuleViewModel(ConfigurationEntryViewModel configurationEntryViewModel)
		{
			this.ConfigurationEntryViewModel = configurationEntryViewModel;
			this.DeleteCommand = new MyDeleteCommand(this);
		}

		/// <summary>
		/// Gets the configuration entry view model which is the parent of this instance
		/// </summary>
		/// <value>The configuration entry view model.</value>
		public ConfigurationEntryViewModel ConfigurationEntryViewModel
		{ get; private set; }


		/// <summary>
		/// Gets or sets the type of the affinity.
		/// </summary>
		/// <value>The type of the affinity.</value>
		public ProcessorAffinityType AffinityType
		{
			get { return processorAffinityType; }
			set
			{
				if (processorAffinityType == value)
					return;

				processorAffinityType = value;
				this.OnPropertyChanged("Affinity");
			}
		}

		/// <summary>
		/// Gets or sets a value indicating whether this rule is selected within the UI
		/// </summary>
		/// <value>
		/// 	<c>true</c> if this rule is selected within the UI; otherwise, <c>false</c>.
		/// </value>
		public bool IsSelected
		{
			get { return isSelected; }
			set
			{
				if (isSelected == value)
					return;

				isSelected = value;

				if (value)
					this.ConfigurationEntryViewModel.ConfigurationViewModel.SelectedTreeObject = this;

				this.OnPropertyChanged("IsSelected");
			}
		}

		/// <summary>
		/// Gets the custom affinity mask.
		/// </summary>
		/// <value>The custom affinity mask.</value>
		public ulong CustomAffinityMask
		{
			get
			{
				ulong result = 0;

				if (CustomMaskProcessor0) result += ((ulong)1) << 0;
				if (CustomMaskProcessor1) result += ((ulong)1) << 1;
				if (CustomMaskProcessor2) result += ((ulong)1) << 2;
				if (CustomMaskProcessor3) result += ((ulong)1) << 3;
				if (CustomMaskProcessor4) result += ((ulong)1) << 4;
				if (CustomMaskProcessor5) result += ((ulong)1) << 5;
				if (CustomMaskProcessor6) result += ((ulong)1) << 6;
				if (CustomMaskProcessor7) result += ((ulong)1) << 7;
				if (CustomMaskProcessor8) result += ((ulong)1) << 8;
				if (CustomMaskProcessor9) result += ((ulong)1) << 9;
				if (CustomMaskProcessor10) result += ((ulong)1) << 10;
				if (CustomMaskProcessor11) result += ((ulong)1) << 11;
				if (CustomMaskProcessor12) result += ((ulong)1) << 12;
				if (CustomMaskProcessor13) result += ((ulong)1) << 13;
				if (CustomMaskProcessor14) result += ((ulong)1) << 14;
				if (CustomMaskProcessor15) result += ((ulong)1) << 15;
				if (CustomMaskProcessor16) result += ((ulong)1) << 16;
				if (CustomMaskProcessor17) result += ((ulong)1) << 17;
				if (CustomMaskProcessor18) result += ((ulong)1) << 18;
				if (CustomMaskProcessor19) result += ((ulong)1) << 19;
				if (CustomMaskProcessor20) result += ((ulong)1) << 20;
				if (CustomMaskProcessor21) result += ((ulong)1) << 21;
				if (CustomMaskProcessor22) result += ((ulong)1) << 22;
				if (CustomMaskProcessor23) result += ((ulong)1) << 23;
				if (CustomMaskProcessor24) result += ((ulong)1) << 24;
				if (CustomMaskProcessor25) result += ((ulong)1) << 25;
				if (CustomMaskProcessor26) result += ((ulong)1) << 26;
				if (CustomMaskProcessor27) result += ((ulong)1) << 27;
				if (CustomMaskProcessor28) result += ((ulong)1) << 28;
				if (CustomMaskProcessor29) result += ((ulong)1) << 29;
				if (CustomMaskProcessor30) result += ((ulong)1) << 30;
				if (CustomMaskProcessor31) result += ((ulong)1) << 31;
				if (CustomMaskProcessor32) result += ((ulong)1) << 32;
				if (CustomMaskProcessor33) result += ((ulong)1) << 33;
				if (CustomMaskProcessor34) result += ((ulong)1) << 34;
				if (CustomMaskProcessor35) result += ((ulong)1) << 35;
				if (CustomMaskProcessor36) result += ((ulong)1) << 36;
				if (CustomMaskProcessor37) result += ((ulong)1) << 37;
				if (CustomMaskProcessor38) result += ((ulong)1) << 38;
				if (CustomMaskProcessor39) result += ((ulong)1) << 39;
				if (CustomMaskProcessor40) result += ((ulong)1) << 40;
				if (CustomMaskProcessor41) result += ((ulong)1) << 41;
				if (CustomMaskProcessor42) result += ((ulong)1) << 42;
				if (CustomMaskProcessor43) result += ((ulong)1) << 43;
				if (CustomMaskProcessor44) result += ((ulong)1) << 44;
				if (CustomMaskProcessor45) result += ((ulong)1) << 45;
				if (CustomMaskProcessor46) result += ((ulong)1) << 46;
				if (CustomMaskProcessor47) result += ((ulong)1) << 47;
				if (CustomMaskProcessor48) result += ((ulong)1) << 48;
				if (CustomMaskProcessor49) result += ((ulong)1) << 49;
				if (CustomMaskProcessor50) result += ((ulong)1) << 50;
				if (CustomMaskProcessor51) result += ((ulong)1) << 51;
				if (CustomMaskProcessor52) result += ((ulong)1) << 52;
				if (CustomMaskProcessor53) result += ((ulong)1) << 53;
				if (CustomMaskProcessor54) result += ((ulong)1) << 54;
				if (CustomMaskProcessor55) result += ((ulong)1) << 55;
				if (CustomMaskProcessor56) result += ((ulong)1) << 56;
				if (CustomMaskProcessor57) result += ((ulong)1) << 57;
				if (CustomMaskProcessor58) result += ((ulong)1) << 58;
				if (CustomMaskProcessor59) result += ((ulong)1) << 59;
				if (CustomMaskProcessor60) result += ((ulong)1) << 60;
				if (CustomMaskProcessor61) result += ((ulong)1) << 61;
				if (CustomMaskProcessor62) result += ((ulong)1) << 62;
				if (CustomMaskProcessor63) result += ((ulong)1) << 63;
				
				return result;
			}
		}

		/// <summary>
		/// Gets or sets the name of the process.
		/// </summary>
		/// <value>The name of the process.</value>
		public string ProcessName
		{
			get { return processName; }
			set
			{
				if (processName == value)
					return;

				processName = value;
				this.OnPropertyChanged("ProcessName");
			}
		}

		#region Custom Affinity Mask
		private bool _customMaskProcessor0;
		public bool CustomMaskProcessor0
		{
			get { return _customMaskProcessor0; }
			set
			{
				if (_customMaskProcessor0 == value)
					return;

				_customMaskProcessor0 = value;
				this.OnPropertyChanged("CustomMaskProcessor0");
			}
		}
		private bool _customMaskProcessor1;
		public bool CustomMaskProcessor1
		{
			get { return _customMaskProcessor1; }
			set
			{
				if (_customMaskProcessor1 == value)
					return;

				_customMaskProcessor1 = value;
				this.OnPropertyChanged("CustomMaskProcessor1");
			}
		}
		private bool _customMaskProcessor2;
		public bool CustomMaskProcessor2
		{
			get { return _customMaskProcessor2; }
			set
			{
				if (_customMaskProcessor2 == value)
					return;

				_customMaskProcessor2 = value;
				this.OnPropertyChanged("CustomMaskProcessor2");
			}
		}
		private bool _customMaskProcessor3;
		public bool CustomMaskProcessor3
		{
			get { return _customMaskProcessor3; }
			set
			{
				if (_customMaskProcessor3 == value)
					return;

				_customMaskProcessor3 = value;
				this.OnPropertyChanged("CustomMaskProcessor3");
			}
		}
		private bool _customMaskProcessor4;
		public bool CustomMaskProcessor4
		{
			get { return _customMaskProcessor4; }
			set
			{
				if (_customMaskProcessor4 == value)
					return;

				_customMaskProcessor4 = value;
				this.OnPropertyChanged("CustomMaskProcessor4");
			}
		}
		private bool _customMaskProcessor5;
		public bool CustomMaskProcessor5
		{
			get { return _customMaskProcessor5; }
			set
			{
				if (_customMaskProcessor5 == value)
					return;

				_customMaskProcessor5 = value;
				this.OnPropertyChanged("CustomMaskProcessor5");
			}
		}
		private bool _customMaskProcessor6;
		public bool CustomMaskProcessor6
		{
			get { return _customMaskProcessor6; }
			set
			{
				if (_customMaskProcessor6 == value)
					return;

				_customMaskProcessor6 = value;
				this.OnPropertyChanged("CustomMaskProcessor6");
			}
		}
		private bool _customMaskProcessor7;
		public bool CustomMaskProcessor7
		{
			get { return _customMaskProcessor7; }
			set
			{
				if (_customMaskProcessor7 == value)
					return;

				_customMaskProcessor7 = value;
				this.OnPropertyChanged("CustomMaskProcessor7");
			}
		}
		private bool _customMaskProcessor8;
		public bool CustomMaskProcessor8
		{
			get { return _customMaskProcessor8; }
			set
			{
				if (_customMaskProcessor8 == value)
					return;

				_customMaskProcessor8 = value;
				this.OnPropertyChanged("CustomMaskProcessor8");
			}
		}
		private bool _customMaskProcessor9;
		public bool CustomMaskProcessor9
		{
			get { return _customMaskProcessor9; }
			set
			{
				if (_customMaskProcessor9 == value)
					return;

				_customMaskProcessor9 = value;
				this.OnPropertyChanged("CustomMaskProcessor9");
			}
		}
		private bool _customMaskProcessor10;
		public bool CustomMaskProcessor10
		{
			get { return _customMaskProcessor10; }
			set
			{
				if (_customMaskProcessor10 == value)
					return;

				_customMaskProcessor10 = value;
				this.OnPropertyChanged("CustomMaskProcessor10");
			}
		}
		private bool _customMaskProcessor11;
		public bool CustomMaskProcessor11
		{
			get { return _customMaskProcessor11; }
			set
			{
				if (_customMaskProcessor11 == value)
					return;

				_customMaskProcessor11 = value;
				this.OnPropertyChanged("CustomMaskProcessor11");
			}
		}
		private bool _customMaskProcessor12;
		public bool CustomMaskProcessor12
		{
			get { return _customMaskProcessor12; }
			set
			{
				if (_customMaskProcessor12 == value)
					return;

				_customMaskProcessor12 = value;
				this.OnPropertyChanged("CustomMaskProcessor12");
			}
		}
		private bool _customMaskProcessor13;
		public bool CustomMaskProcessor13
		{
			get { return _customMaskProcessor13; }
			set
			{
				if (_customMaskProcessor13 == value)
					return;

				_customMaskProcessor13 = value;
				this.OnPropertyChanged("CustomMaskProcessor13");
			}
		}
		private bool _customMaskProcessor14;
		public bool CustomMaskProcessor14
		{
			get { return _customMaskProcessor14; }
			set
			{
				if (_customMaskProcessor14 == value)
					return;

				_customMaskProcessor14 = value;
				this.OnPropertyChanged("CustomMaskProcessor14");
			}
		}
		private bool _customMaskProcessor15;
		public bool CustomMaskProcessor15
		{
			get { return _customMaskProcessor15; }
			set
			{
				if (_customMaskProcessor15 == value)
					return;

				_customMaskProcessor15 = value;
				this.OnPropertyChanged("CustomMaskProcessor15");
			}
		}
		private bool _customMaskProcessor16;
		public bool CustomMaskProcessor16
		{
			get { return _customMaskProcessor16; }
			set
			{
				if (_customMaskProcessor16 == value)
					return;

				_customMaskProcessor16 = value;
				this.OnPropertyChanged("CustomMaskProcessor16");
			}
		}
		private bool _customMaskProcessor17;
		public bool CustomMaskProcessor17
		{
			get { return _customMaskProcessor17; }
			set
			{
				if (_customMaskProcessor17 == value)
					return;

				_customMaskProcessor17 = value;
				this.OnPropertyChanged("CustomMaskProcessor17");
			}
		}
		private bool _customMaskProcessor18;
		public bool CustomMaskProcessor18
		{
			get { return _customMaskProcessor18; }
			set
			{
				if (_customMaskProcessor18 == value)
					return;

				_customMaskProcessor18 = value;
				this.OnPropertyChanged("CustomMaskProcessor18");
			}
		}
		private bool _customMaskProcessor19;
		public bool CustomMaskProcessor19
		{
			get { return _customMaskProcessor19; }
			set
			{
				if (_customMaskProcessor19 == value)
					return;

				_customMaskProcessor19 = value;
				this.OnPropertyChanged("CustomMaskProcessor19");
			}
		}
		private bool _customMaskProcessor20;
		public bool CustomMaskProcessor20
		{
			get { return _customMaskProcessor20; }
			set
			{
				if (_customMaskProcessor20 == value)
					return;

				_customMaskProcessor20 = value;
				this.OnPropertyChanged("CustomMaskProcessor20");
			}
		}
		private bool _customMaskProcessor21;
		public bool CustomMaskProcessor21
		{
			get { return _customMaskProcessor21; }
			set
			{
				if (_customMaskProcessor21 == value)
					return;

				_customMaskProcessor21 = value;
				this.OnPropertyChanged("CustomMaskProcessor21");
			}
		}
		private bool _customMaskProcessor22;
		public bool CustomMaskProcessor22
		{
			get { return _customMaskProcessor22; }
			set
			{
				if (_customMaskProcessor22 == value)
					return;

				_customMaskProcessor22 = value;
				this.OnPropertyChanged("CustomMaskProcessor22");
			}
		}
		private bool _customMaskProcessor23;
		public bool CustomMaskProcessor23
		{
			get { return _customMaskProcessor23; }
			set
			{
				if (_customMaskProcessor23 == value)
					return;

				_customMaskProcessor23 = value;
				this.OnPropertyChanged("CustomMaskProcessor23");
			}
		}
		private bool _customMaskProcessor24;
		public bool CustomMaskProcessor24
		{
			get { return _customMaskProcessor24; }
			set
			{
				if (_customMaskProcessor24 == value)
					return;

				_customMaskProcessor24 = value;
				this.OnPropertyChanged("CustomMaskProcessor24");
			}
		}
		private bool _customMaskProcessor25;
		public bool CustomMaskProcessor25
		{
			get { return _customMaskProcessor25; }
			set
			{
				if (_customMaskProcessor25 == value)
					return;

				_customMaskProcessor25 = value;
				this.OnPropertyChanged("CustomMaskProcessor25");
			}
		}
		private bool _customMaskProcessor26;
		public bool CustomMaskProcessor26
		{
			get { return _customMaskProcessor26; }
			set
			{
				if (_customMaskProcessor26 == value)
					return;

				_customMaskProcessor26 = value;
				this.OnPropertyChanged("CustomMaskProcessor26");
			}
		}
		private bool _customMaskProcessor27;
		public bool CustomMaskProcessor27
		{
			get { return _customMaskProcessor27; }
			set
			{
				if (_customMaskProcessor27 == value)
					return;

				_customMaskProcessor27 = value;
				this.OnPropertyChanged("CustomMaskProcessor27");
			}
		}
		private bool _customMaskProcessor28;
		public bool CustomMaskProcessor28
		{
			get { return _customMaskProcessor28; }
			set
			{
				if (_customMaskProcessor28 == value)
					return;

				_customMaskProcessor28 = value;
				this.OnPropertyChanged("CustomMaskProcessor28");
			}
		}
		private bool _customMaskProcessor29;
		public bool CustomMaskProcessor29
		{
			get { return _customMaskProcessor29; }
			set
			{
				if (_customMaskProcessor29 == value)
					return;

				_customMaskProcessor29 = value;
				this.OnPropertyChanged("CustomMaskProcessor29");
			}
		}
		private bool _customMaskProcessor30;
		public bool CustomMaskProcessor30
		{
			get { return _customMaskProcessor30; }
			set
			{
				if (_customMaskProcessor30 == value)
					return;

				_customMaskProcessor30 = value;
				this.OnPropertyChanged("CustomMaskProcessor30");
			}
		}
		private bool _customMaskProcessor31;
		public bool CustomMaskProcessor31
		{
			get { return _customMaskProcessor31; }
			set
			{
				if (_customMaskProcessor31 == value)
					return;

				_customMaskProcessor31 = value;
				this.OnPropertyChanged("CustomMaskProcessor31");
			}
		}
		private bool _customMaskProcessor32;
		public bool CustomMaskProcessor32
		{
			get { return _customMaskProcessor32; }
			set
			{
				if (_customMaskProcessor32 == value)
					return;

				_customMaskProcessor32 = value;
				this.OnPropertyChanged("CustomMaskProcessor32");
			}
		}
		private bool _customMaskProcessor33;
		public bool CustomMaskProcessor33
		{
			get { return _customMaskProcessor33; }
			set
			{
				if (_customMaskProcessor33 == value)
					return;

				_customMaskProcessor33 = value;
				this.OnPropertyChanged("CustomMaskProcessor33");
			}
		}
		private bool _customMaskProcessor34;
		public bool CustomMaskProcessor34
		{
			get { return _customMaskProcessor34; }
			set
			{
				if (_customMaskProcessor34 == value)
					return;

				_customMaskProcessor34 = value;
				this.OnPropertyChanged("CustomMaskProcessor34");
			}
		}
		private bool _customMaskProcessor35;
		public bool CustomMaskProcessor35
		{
			get { return _customMaskProcessor35; }
			set
			{
				if (_customMaskProcessor35 == value)
					return;

				_customMaskProcessor35 = value;
				this.OnPropertyChanged("CustomMaskProcessor35");
			}
		}
		private bool _customMaskProcessor36;
		public bool CustomMaskProcessor36
		{
			get { return _customMaskProcessor36; }
			set
			{
				if (_customMaskProcessor36 == value)
					return;

				_customMaskProcessor36 = value;
				this.OnPropertyChanged("CustomMaskProcessor36");
			}
		}
		private bool _customMaskProcessor37;
		public bool CustomMaskProcessor37
		{
			get { return _customMaskProcessor37; }
			set
			{
				if (_customMaskProcessor37 == value)
					return;

				_customMaskProcessor37 = value;
				this.OnPropertyChanged("CustomMaskProcessor37");
			}
		}
		private bool _customMaskProcessor38;
		public bool CustomMaskProcessor38
		{
			get { return _customMaskProcessor38; }
			set
			{
				if (_customMaskProcessor38 == value)
					return;

				_customMaskProcessor38 = value;
				this.OnPropertyChanged("CustomMaskProcessor38");
			}
		}
		private bool _customMaskProcessor39;
		public bool CustomMaskProcessor39
		{
			get { return _customMaskProcessor39; }
			set
			{
				if (_customMaskProcessor39 == value)
					return;

				_customMaskProcessor39 = value;
				this.OnPropertyChanged("CustomMaskProcessor39");
			}
		}
		private bool _customMaskProcessor40;
		public bool CustomMaskProcessor40
		{
			get { return _customMaskProcessor40; }
			set
			{
				if (_customMaskProcessor40 == value)
					return;

				_customMaskProcessor40 = value;
				this.OnPropertyChanged("CustomMaskProcessor40");
			}
		}
		private bool _customMaskProcessor41;
		public bool CustomMaskProcessor41
		{
			get { return _customMaskProcessor41; }
			set
			{
				if (_customMaskProcessor41 == value)
					return;

				_customMaskProcessor41 = value;
				this.OnPropertyChanged("CustomMaskProcessor41");
			}
		}
		private bool _customMaskProcessor42;
		public bool CustomMaskProcessor42
		{
			get { return _customMaskProcessor42; }
			set
			{
				if (_customMaskProcessor42 == value)
					return;

				_customMaskProcessor42 = value;
				this.OnPropertyChanged("CustomMaskProcessor42");
			}
		}
		private bool _customMaskProcessor43;
		public bool CustomMaskProcessor43
		{
			get { return _customMaskProcessor43; }
			set
			{
				if (_customMaskProcessor43 == value)
					return;

				_customMaskProcessor43 = value;
				this.OnPropertyChanged("CustomMaskProcessor43");
			}
		}
		private bool _customMaskProcessor44;
		public bool CustomMaskProcessor44
		{
			get { return _customMaskProcessor44; }
			set
			{
				if (_customMaskProcessor44 == value)
					return;

				_customMaskProcessor44 = value;
				this.OnPropertyChanged("CustomMaskProcessor44");
			}
		}
		private bool _customMaskProcessor45;
		public bool CustomMaskProcessor45
		{
			get { return _customMaskProcessor45; }
			set
			{
				if (_customMaskProcessor45 == value)
					return;

				_customMaskProcessor45 = value;
				this.OnPropertyChanged("CustomMaskProcessor45");
			}
		}
		private bool _customMaskProcessor46;
		public bool CustomMaskProcessor46
		{
			get { return _customMaskProcessor46; }
			set
			{
				if (_customMaskProcessor46 == value)
					return;

				_customMaskProcessor46 = value;
				this.OnPropertyChanged("CustomMaskProcessor46");
			}
		}
		private bool _customMaskProcessor47;
		public bool CustomMaskProcessor47
		{
			get { return _customMaskProcessor47; }
			set
			{
				if (_customMaskProcessor47 == value)
					return;

				_customMaskProcessor47 = value;
				this.OnPropertyChanged("CustomMaskProcessor47");
			}
		}
		private bool _customMaskProcessor48;
		public bool CustomMaskProcessor48
		{
			get { return _customMaskProcessor48; }
			set
			{
				if (_customMaskProcessor48 == value)
					return;

				_customMaskProcessor48 = value;
				this.OnPropertyChanged("CustomMaskProcessor48");
			}
		}
		private bool _customMaskProcessor49;
		public bool CustomMaskProcessor49
		{
			get { return _customMaskProcessor49; }
			set
			{
				if (_customMaskProcessor49 == value)
					return;

				_customMaskProcessor49 = value;
				this.OnPropertyChanged("CustomMaskProcessor49");
			}
		}
		private bool _customMaskProcessor50;
		public bool CustomMaskProcessor50
		{
			get { return _customMaskProcessor50; }
			set
			{
				if (_customMaskProcessor50 == value)
					return;

				_customMaskProcessor50 = value;
				this.OnPropertyChanged("CustomMaskProcessor50");
			}
		}
		private bool _customMaskProcessor51;
		public bool CustomMaskProcessor51
		{
			get { return _customMaskProcessor51; }
			set
			{
				if (_customMaskProcessor51 == value)
					return;

				_customMaskProcessor51 = value;
				this.OnPropertyChanged("CustomMaskProcessor51");
			}
		}
		private bool _customMaskProcessor52;
		public bool CustomMaskProcessor52
		{
			get { return _customMaskProcessor52; }
			set
			{
				if (_customMaskProcessor52 == value)
					return;

				_customMaskProcessor52 = value;
				this.OnPropertyChanged("CustomMaskProcessor52");
			}
		}
		private bool _customMaskProcessor53;
		public bool CustomMaskProcessor53
		{
			get { return _customMaskProcessor53; }
			set
			{
				if (_customMaskProcessor53 == value)
					return;

				_customMaskProcessor53 = value;
				this.OnPropertyChanged("CustomMaskProcessor53");
			}
		}
		private bool _customMaskProcessor54;
		public bool CustomMaskProcessor54
		{
			get { return _customMaskProcessor54; }
			set
			{
				if (_customMaskProcessor54 == value)
					return;

				_customMaskProcessor54 = value;
				this.OnPropertyChanged("CustomMaskProcessor54");
			}
		}
		private bool _customMaskProcessor55;
		public bool CustomMaskProcessor55
		{
			get { return _customMaskProcessor55; }
			set
			{
				if (_customMaskProcessor55 == value)
					return;

				_customMaskProcessor55 = value;
				this.OnPropertyChanged("CustomMaskProcessor55");
			}
		}
		private bool _customMaskProcessor56;
		public bool CustomMaskProcessor56
		{
			get { return _customMaskProcessor56; }
			set
			{
				if (_customMaskProcessor56 == value)
					return;

				_customMaskProcessor56 = value;
				this.OnPropertyChanged("CustomMaskProcessor56");
			}
		}
		private bool _customMaskProcessor57;
		public bool CustomMaskProcessor57
		{
			get { return _customMaskProcessor57; }
			set
			{
				if (_customMaskProcessor57 == value)
					return;

				_customMaskProcessor57 = value;
				this.OnPropertyChanged("CustomMaskProcessor57");
			}
		}
		private bool _customMaskProcessor58;
		public bool CustomMaskProcessor58
		{
			get { return _customMaskProcessor58; }
			set
			{
				if (_customMaskProcessor58 == value)
					return;

				_customMaskProcessor58 = value;
				this.OnPropertyChanged("CustomMaskProcessor58");
			}
		}
		private bool _customMaskProcessor59;
		public bool CustomMaskProcessor59
		{
			get { return _customMaskProcessor59; }
			set
			{
				if (_customMaskProcessor59 == value)
					return;

				_customMaskProcessor59 = value;
				this.OnPropertyChanged("CustomMaskProcessor59");
			}
		}
		private bool _customMaskProcessor60;
		public bool CustomMaskProcessor60
		{
			get { return _customMaskProcessor60; }
			set
			{
				if (_customMaskProcessor60 == value)
					return;

				_customMaskProcessor60 = value;
				this.OnPropertyChanged("CustomMaskProcessor60");
			}
		}
		private bool _customMaskProcessor61;
		public bool CustomMaskProcessor61
		{
			get { return _customMaskProcessor61; }
			set
			{
				if (_customMaskProcessor61 == value)
					return;

				_customMaskProcessor61 = value;
				this.OnPropertyChanged("CustomMaskProcessor61");
			}
		}
		private bool _customMaskProcessor62;
		public bool CustomMaskProcessor62
		{
			get { return _customMaskProcessor62; }
			set
			{
				if (_customMaskProcessor62 == value)
					return;

				_customMaskProcessor62 = value;
				this.OnPropertyChanged("CustomMaskProcessor62");
			}
		}
		private bool _customMaskProcessor63;
		public bool CustomMaskProcessor63
		{
			get { return _customMaskProcessor63; }
			set
			{
				if (_customMaskProcessor63 == value)
					return;

				_customMaskProcessor63 = value;
				this.OnPropertyChanged("CustomMaskProcessor63");
			}
		}

		#endregion
    }
}
